<template>
  <div>
    <Button>home</Button>
    <div>{{ count }}</div>
  </div>
</template>

<script>
import { Button } from "vant";
export default {
  components: {
    Button,
  },
  computed: {
    count() {
      return this.$store.state.count;
    },
  },
};
</script>